Test hook, open hook config, test service path argument

open hook, change config/config.php config/hooks.php, create
TestHook.php
fix domain.sql add type nil to User 'type'
add helper/apns_helper.php
add view/admin/login.php