Fix the bugs in the snippets

Kii.currentUser() -> KiiUser.getCurrentUser()
Merge pull request #139 from KiiCorp/JavaScript_CurrentUser_Fix

Fix the bugs in the snippets