Ported Avogadro application to Qt 5

Change-Id: Ie68bed455176b84ab0e45cf71d692326dbe89294
Merge branch 'qt5'

Change-Id: Ia368dcdbe18ef0c778936ccd41c5ff4db4728ece