No longer exit on an unknown API error.

Changes the exit in the API meta-method to an exception.
Merge pull request #10 from railsmachine/rails-machine-raise-exception-instead-of-exiting-on-error

No longer exit on an unknown API error.