Use more portable hqx code from googlecode hqx

Conflicts:
	src/CMakeLists.txt
look for gme header in the proper location
silence a noisy warning
Merge pull request #6 from galtgendo/for-upstream

use portable hqx code