use lunny/httpsession for session
add some default funcs & add session, cookie for template as func
bugs fixed
bug fixed
add MapForm method
merge