Merge pull request #17 from michaelfung/master

tidy up timer api
Merge pull request #18 from michaelfung/master

update user_id and pw spec
refine the API
refine the API
refine API
Device API

add Get Device API
Repair Device API name change to Pair Device API
device_id will be returned after pairing

device_type is needed in pairing