Only schedule items with Frontier when crawl state is RUNNING or EMPTY.

Also a few minor tweaks and fixes.
Various tweaks to enable updating at runtime
Further work on Hibernate. 
Mostly works now, except reading changes that happen to the DB at
runtime.
Hibernate dependencies added