Update travis settings to a recent Node.js

This might help to make travis passing the tests again...
Merge pull request #105 from mphasize/patch-2

Update travis settings to a recent Node.js
Update i18n.js

I ran into some issues when using ember-i18n with ember-cli. While the development mode with "ember serve" would work flawlessly, using "ember build --environment=production" would raise a couple of errors in the compiled output.

I tracked them down and modified my version of i18n.js --- here's the changes for everybody.
(I am using Ember 1.6 beta and ember-cli 0.0.28)

-----

Line 88: use `throw new Ember.Error` instead of undefined error function

Lines 163, 227, 228: use `Ember.Handlebars.registerHelper` instead of Handlebars.registerHelper. This makes Ember find the i18n helpers in the compiled output.

Lines 207, 221: use `Ember.Handlebars.SafeString` instead of vanilla Handlebars. This fixes wrongly escaped output.

One note: You will still need to include the vanilla Handlebars library. I was unable to get i18n.js to use the Ember.Handlebars.compile function (the check in line 82 returns false).
In the Brocfile.js (from ember-cli) add `app.import( 'vendor/handlebars/handlebars.js' );` 

With these changes, ember-i18n still works as expected in a normal environment and now also works well in an ember-cli environment.

Cheers!
Marcus
Update i18n.js

Added missing changes, see description of PR https://github.com/jamesarosen/ember-i18n/pull/106
Addresses deprecation added in https://github.com/emberjs/ember.js/commit/3d1d53485cfc4056edd73eefaaaac2b6be74d77a
Merge pull request #103 from axelguiloff/fix_state_deprecation

Fixes state deprecation recently introduced in Ember.js Master
Merge pull request #106 from mphasize/patch-3

Make i18n.js play nicely with ember-cli (retry)
Normalizes Em references to Ember
Merge pull request #107 from jamesarosen/normalize-ember-references

Normalizes Em references to Ember
JSHint: ensure no use of undefined variables

 * Define runtime, buildtime, and spec globals
 * Define `version` in `buildSuite.js`, which didn't have a `var`
   due to a typo
Em -> Ember for consistency

 * No longer predefine `Em`
 * Use `Ember` everywhere for consistency
JSHint: ensure no unused variables
JSHint: require === and !==
Distinguish EmHandlebars from PlainHandlebars
t helper: check view.$(), not view.state

Ember has deprecated Ember.View#state in favor of #_state, but
doesn't consider either to be in the public API. Instead, ask for
view.$(), which will return `undefined` if the view is no longer
in the DOM.
Merge pull request #108 from jamesarosen/cleanup

Some Cleanup
v1.6.4
Don't support Ember 0.x

 * set bower dependency to ^1.0
 * remove test run against {Ember 0.9.8.1, jQuery 1.7.2, Handlebars 1.0.0-rc.3}
 * remove Ember 0.9.8.1, jQuery 1.7.2, and Handlebars 1.0.0-rc.3 from
   the configuration for `script/fetch_vendor.js`
Always use Ember.Handlebars.get

`Ember.Handlebars.get` is always defined in Ember 1, so there's no need
to fall back on an alternate.
Always use Ember.assert

`Ember.assert` is always defined in Ember 1 and `ember_assert` isn't,
so there's no need to fall back.