CMMotionActivityManager and CMStepCounter sample code. works only on iPhone 5s