add helper methods to hook refs #140
* plugin_root method
* render javascript file directly
add call_hook 'script_in_account_setting' refs #140
refactor desktop notification plugin refs #140