Removed unused import in views/pages.py
Add link to commit view in recent activity table
Save commit hash in HistoryItem when creating page

Closes #220.