Factor build system into library
Add support for relocatable build rules and export PNaCl library target

Conflicts:
	engine/StirFile/Pro/MethclaPro.hs
Fix sources and linker flags for exported PNaCl library
Indentation fix
Make library variant configurable at runtime
Build Pro version based on presence of license file