Support more lifecycle method

Support more lifecycle method.
Added some most-used lifecycle method in ProxyActivity.
And the other method can be override by creating a CustomProxyActivity replacing ProxyActivity (see the sample code)