Moves hiding/showing the edit/delete/reply links to javascript function thats reusable across the application

Embeds username into a window variable, reuse across application to show/hide/remove dom content based on current_user.  Lets us cache these pages for logged in users and still render appropriate view.

Not 100% this is the best solution, but it works?