Bugfix in src/makefile
Minor improvements.
Updated makefiles.
Added variables.mk
Removed embedded xraylib.
Modified readme
Bugfix: std::ofstream fout scope issue: may cause Segfault on linux.
Minor improvement.