Improvement document system

https://issues.apache.org/jira/browse/USERGRID-245