Fix code-style
Add 'show' query parameter for cmd_show

We meanings are the same as in the web interface: it could be
'messages', 'recommendations' or 'all'.
Add userinfo API cmd; use it for template as well
Merge pull request #40 from Kagami/feature/improve-api

API improvements