Add ability for custom title templates [MJ-928]

- Added a new template loader to cache templates
- Created template for title contents when going to PRM (pulled text from MA-1968 to demo)

All tests pass.

Top: login page with ?next=/prm/view/
Bottom: login page with ?next=/prm/view/ and user came from wrp.jobs
![2014-07-15-093817_1053x691_scrot](https://cloud.githubusercontent.com/assets/3379265/3586205/d967b33c-0c2d-11e4-9fc3-4adbc8d01cb2.png)
![2014-07-15-095404_973x717_scrot](https://cloud.githubusercontent.com/assets/3379265/3586206/dac598b6-0c2d-11e4-992d-78f7a4b3ad71.png)