Remove unnecessary form references.

These are used in the resource file rather than during the build.
Merge pull request #50 from ahmedcharles/qmake_msvc

Remove unnecessary form references.
Rearrange includes to improve compile times.

This also allows for memory leak checking on MSVC by having include
surrounding Qt headers, which break if you have a macro define new
to be something which tracks line information.