First working pass of 64 bit and c++ 11 port. Other platforms are likely broken now and need rework. Project builder 64bit and compatibility with source/header-only addons seems to be fine.

Signed-off-by: Nathan Rausch <krysmopompas@gmail.com>