Users module update

Changed settings value column from VARCHAR to TEXT (install and upgrade)
Session module update

Cannot remove Core module
Clay Package - Installer update

Now uses the core modules and applications array added for upgrade
method. Added some comments and did some clean up.