add url path helper to view locals
Merge pull request #511 from joshrowley/path-helper

Refactor URL path helper and add tests
ulimit fix