Fixed undefined index when parsing headers
Made priority check strict so implicit casting is disabled

This fix means you can no longer call setPriority() with an empty string to set PRIORITY_NORMAL
Added error reporting configuration to unit tests to match Travis.CI setup
Removed else condition that was never used
Added unit tests for Message