Added enqueueInlineScript method to Plugin base class

-Added enqueueInlineScript method to Plugin base class
-Added printInlineFooterScripts method 
-Added a new tools method sortDependentList as a helper
Replaced wp_enqueue for framework and safe-metabox-state.js with enqueueInlineScript method call
Merge branch 'inline-script-enqueue' into develop