Add ocdialog jQuery plugin.
Use $.ocdialog instead of $.dialog
Fix some small things with filepicker()
Use octemplate