Ajax calls for files app

- The file list now uses ajax calls to refresh the list.
- It also supports the browser back button (history API).
- Added utility function in core JS for parsing query strings.
- Moved file list + breadcrumb template data code to helper
  functions
Fixed disableSharing case with trash app