Merge branch 'master' of github.com:dellsystem/wikinotes
Change hash param in urls to only accept 40 chars

Currently, only commit hashes of the full 40-character length are
accepted anyway; anything shorter will just trigger a 404 or an error,
if it's an odd-length string. This commit ensures that an error is not
triggered.
Remove unnecessary parentheses in urls.py
Add test for commit view with a hash of < 40 chars

Regression test for 79e39203a2ac897fd50d3692dd1b4ddb15c7e09c