add stub beforeInit and afterInit methods to base viewmodel
Merge pull request #22 from greeze/46684259-viewmodel-before-after-init

add stub beforeInit and afterInit methods to base viewmodel