Merge #47: Add web pages in Flask

At this merge:
- Refactoring at some places (for example, LoginForm)
- Added new routes for pages
- Added RegisterForm
- Added support for debug