fix #1177 -- expose commands nicely in the site object

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
py3k type takes str, not bytes

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
Merge pull request #1279 from getnikola/fix-1177

fix #1177 -- expose commands nicely in the site object