Index sync job

Fix for #75. Got rid of the controller and made it into a Quartz job with a configurable frequency. Also added an option to make the index sync on startup.
It's missing the field visibility (private)