Bug fix for routing and multiple sites

Fixes #7. Also contains bug fix for routing and sitemap.xml hijacking
form action attributes