Misc messages bugfixes

**commit 1:** Specify scope for location bindings

**commit 2:** Let django templates handle messages
I couldn't figure out how to handle this in javascript, so I reverted to django templates:
`var myelem = "<h3>Hello, "Nick", what's up?</h3>";`

(also, fun fact - apparently github lets you use <strong>html</strong> in your comments