Added support for PACKAGE_* vars

PACKAGE_VERSION, PACKAGE_VERNUM, and PACKAGE_STRING are used in
files and need to be defined to make it work.
Added fixes for running non-dev key.

Added fixes so can be used in a non-development key.
Added fixes (esp to non-dev key)

Added fixes that allow code to be used in a non-developer key -
also fixed some defines.
Merge branch 'Development' of https://github.com/emmamei/cdkey into Development