WIP: implementing Google Picker
Google docs picker now working with current code
Including all google doc types in file picker
Simplified permissions updating. Docs can now be shared with the domain or publicly. Removed some old cruft aswell.
Revamped doc sharing workflow. Can now edit/change shared docs.
Removed plugin jquery ui css (should be provided by a theme plugin)
Google doc links can now be inserted into longtext boxes
Showing an overlay/loader after selecting a doc to share on docs list
Removed unused variable
More unused stuff gone..