maxPersistence for presence

@samshull @marcosvm 

maxPersistence for presence: We periodically write presence state to redis (If a client does not write for 45 seconds, it is deemed disconnected). Here the redis key ttl is renewed each time we write to redis, so no worries about expiring before usage ends.