Porting to Linux

Supporting Qt5 and enabling the FlashcardTemplate apk generation on Linux as a part of GSoC 2014 proposal.

EDIT:
Tested on OS X 10.8 Mountain Lion on a virtual machine, compiling and generating the apk successfully.