Merge pull request #470 from fuxiaohei/develop

add comments for orm and middleware packages.
diffrent level logs display diffrent color
fix bug, redis session doesnt work
Merge pull request #473 from cloudaice/logs-feature

diffrent level logs display diffrent color
Add a ReadOrCreate method:

m := &User{Name: "Kyle"}
// Returns a boolean indicating whether the object was created,
// the primary key of the object, or an error.
created, id, err := orm.ReadOrCreate(m, "Name")
bug fix, session stored in redis cannot be deleted
Merge pull request #477 from kylemcc/read_or_create

Add a ReadOrCreate method:
bugfix, delete the sid if it's values is empty

* regenerate sid, if the old key doesn't exists, set the new one directly
orm 1. add api: NewOrmWithDB, AddAliasWthDB; 2. RawSeter -> add api: RowsToMap, RowsToStruct; 3. RawSeter -> change api: Values, ValuesList, ValuesFlat add optional params comumns.
fixed bug: in logs package check if platform is windows
Merge pull request #487 from cloudaice/log-feature

fixed bug: in logs package check if platform is windows
Merge pull request #474 from pengfei-xue/develop

fix bug, redis session doesnt work
add comments for session packages, part 1
Merge branch 'develop' of git://github.com/astaxie/beego into develop
add comments for session packages, part 2
add comments for toolbox packages
Merge pull request #490 from fuxiaohei/develop

add comments for session and toolbox package
controller can controller whether render the template.

EnableReander default is true.
Merge branch 'develop' of git://github.com/astaxie/beego