ACTIVEMQ6-3 Renaming Exception classes and fixing native compilation

https://issues.apache.org/jira/browse/ACTIVEMQ6-3

The Native Layer has some dependencies on the Exception classes so
I had to rename them now in order to fix the native dependencies