4.1

Pull request for Jira Issue RAILO-2896 - primary changes are in ConfigServerImpl.java which is called from the existing permgen check in the Controller class : line 100 ( not changed ) and expands on this method to be more proactive in calling the shrink() method.  See the Jira issue above for additional detail / history.
Also cleaned up a couple log statements and exceptional handling in this flow