Port to Qt5
Add .gitignore
Fix compilation warnings
Automatic coding style fix
Unify header guard defines
Fix coding style for templates
Fix includes