Large refactorings about package and session & cookie;Remove dependence with github.com/astaxie/session.