Added support for subdirectory.
Fixed comments link in edits shots page
Fixed edit link on view shots page
Merge pull request #42 from nonami/master

Added support for subdirectory.