[#1267] fix url for by faking routes threadlocal
Merge pull request #1276 from okfn/1267-fix-urlfor-paster

Make url_for work in paster commands