Added ready promise to $cordovaDevice

This provides a promise named "ready" on the $cordovaDevice service. The promise wraps the "deviceready" event.