use redis store for session
use cookie store in test environment
halve session life
Merge pull request #232 from peatio/use-redis-store-for-session

use redis store for session