Tests on error catching
Added Logger, LogModel, ready for merging
Added error code 0 for PHP errors
Used Model/api/index for testing purposes