Pass IOException details to failure callbacks
Fix propagation of errorCode and response for failure callbacks

The failureResponse methods didn't have the right number of paramers,
so weren't propagating all the parts of the exception.
update calatrava brigde namespace on the spec helper files
update gemspec to better support Linux

Right now if you run `gem install calatrava` on Linux you'll encounter an error
trying to build native extensions for Xcodeproj, as the gem hosted on RubyGems
was built on a Mac. This change moves the platform-specific dependency
installation into a "native extension" so that it can take place at gem-install
time rather than package-build time.

For more info see this blog post:

http://www.programmersparadox.com/2012/05/21/gemspec-loading-dependent-gems-based-on-the-users-system/

Note that this approach is considered by some (including the author of the
above post) to be a hack. However, the alternative is to create platform-
specific gems, which feels even less desirable (at least to me).
Passed forward the error response in a ajax call failure.
Ignoring .vagrant
Merge branch 'master' of github.com:dtao/calatrava into dtao-master

Conflicts:
	calatrava.gemspec
Bumping version number to 0.6.5 and adding CHANGES
Adding mac specific dependencies conditionally
Bumping version number to 0.6.6 and adding CHANGES
Fixing build
Merge pull request #54 from jagregory/android-errors

[droid] Ajax IOExceptions aren't properly passed around
Merge pull request #71 from priyaaank/error-response-patch

Passed forward the error response in a ajax call failure.
Pass error status and text for web AJAX failures
Logging changes for next release (v0.6.7)
Pull in iOS fix
Updating changes
Fix for issue #75
Updating changes
* Move configuration to app namespace
* Keeping the apiEndpoint if already defined (required for web).