Implemented vibrateWithPattern (for android) and adapted documentation.
Extended vibrateWithPattern to allow for pattern repetition, implemented a complementary cancelVibration function and adapted documentation.