Partitioned messages DB table according to msg type and fixed a bug in
redisProxy.js
added user and users api
Deleted all user entities from rooms tables.
FIxed a bug in tables6up7 script
added a timezone field for users table
Merge branch 'master' into databasePartition

Conflicts:
	core/api/message.js
deleted the gateways call in messages.js and deleted the gateways.js file
some errors fixed in tables6up7