Implemented logger system and changed C style arrays in Spell class to C++11 std::array.

Simple logger system for debug, warning, error and fatal messages. Also includes an assertion function and debug breaks when run in debug mode.