delete cfg writer test file when done with test
fix atom number check in crystal test
export symbols for crystal and detector classes
fix C++0x feature in MSVC 2012

MSVC sucks and doesn't do initializer lists until MSVC 2013
fix missing resize of atoms vector in crystal