fix Accelerometer Test with missing: Device::setAccelerometerEnabled(true);
fix indention
Merge commit 'refs/pull/4123/head' of git://github.com/cocos2d/cocos2d-x into fix-acc
issue #3137: Disabling Accelerometer when layer is destroyed.
Merge pull request #4157 from dumganhar/iss3137-fix-acc

closed #3137: Device::setAccelerometerEnabled needs to be invoked before adding ACC listener