allow passing in context to view handler via bind, and tests
changes to try and conform to style guide
Merge pull request #1380 from evilpacket/allow_bind_context

Allow bind context for view handler