* Fix handling of ".." in apply tags

Ongoing
-------

* Improve test coverage
* Head merging (ala the Lift Web Framework)

