Last commit before 1.1.5!

* This fixed up some more formatting issues with Media Library.
* Swapped the daemon restart oreder in restart_tomcat() and made it retry up to three times if one of the daemons fails to start.

Signed-off-by: Madison Kelly (digimer) <digimer@alteeve.ca>