Fixed state check to support older and newer versions of ember.

Signed-off-by: Alessandro D'Aquino (elara) <alex@midokura.com>
This seems wrong to me for a few reasons. Why not `return unless @get('_state') is 'inDOM' || @get('state') is 'inDOM'?