improving message stores

1. implemented two methods that were not implemented in CQLBasedMessage store
2. when getting metadata from JDBCBasedMessage store now we sort messages to increasing order of message ids. 
3. Restuctured and added comments on CQLBasedMessage Store