Fix page's image path when creating database

Previous path included ./public/.
Rename Gallery to DocumentViewer and start refactoring
Implements first page, last, next and previous in DocumentViewer toolbar