Added the usefull changes from the smellyfeet branch

@pimnijdam could you take a quick look if the changes to the MotionBurstSensor.java is ok?