Migrate build system into autotools. No need to force anybody to have QT.

Reasons for migration:
- multiplatform way of building
- better check if dependencies
- everybody have autotools on unix systems (qmake is not so common)

As result of migration, new lines had to be added into .gitignore.