Two dot o

Fix to "reindex on update" logic, so that when an entity changes, all of the indexes that include it are updated.

Also, a fix to AWS Cluster init_rest_server.sh script to ensure that Tomcat gets the right ulimit.