Add OSX support + some clean up.

- Removed CHooker dependancy to use instead CDetour.
- Refactored and organized code differently.
- Added some error in AMXX logs.