add ttl support

Add ability to enable TTL support at class level
see: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-ttl-field.html