Merge pull request #470 from fuxiaohei/develop

add comments for orm and middleware packages.
diffrent level logs display diffrent color
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")
Merge pull request #477 from kylemcc/read_or_create

Add a ReadOrCreate method:
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