Fix Full Page Caching to Include Headers

Fix full page caching to include headers in `PageCacheRecord`

- Add method `PageCacheLibrary::getCacheHeaders(Page $c)`
- Refactor/DRY `PageCacheLibrary::outputCacheHeaders(Page $c)` to use
  `PageCacheLibrary::getCacheHeaders(Page $c)`
- Add method `PageCacheRecord::getCacheRecordHeaders()`
- Add method `PageCacheRecord::setCacheRecordHeaders($headers)`
- Set cache header record in `PageCacheLibrary::__construct()`

Design goal is to avoid changing the interface as I'm alread aware of
one page cache(for Redis) in the wild.

Slightly inefficient as it calls `PageCacheLibrary::getCacheHeaders()`
twice when caching a page.
Fix Version Display in Dashboard

Fix version display in dashboard view.

`$this->fv` was storing on file version and caching that. This caused
the same version as the first one to always be returned.

Change to `CacheLocal::set()` `CacheLocal::getEntry()`
Fix Quick Nav Add/Remove Break Intelligent Search

Fix quick nav add/remove breaking intelligent search after clicked.

- Add `this` to jQuery element data to access methods
- Call `$.liveUpdate.setupCache()` after replacing intelligent search
  results.

Needed to modify jquery.liveupdate.js as I could not find another means
of modifying internal data.
Fix Installation Blocks w/ Overridden Controller

Fix installation of blocks with overridden controller but not an
overridden db.xml file.

This caused an upgrade error from upgrading 5.6.0.2 to 5.6.1

- Add additional parameter to `BlockType::doInstallBlockType()` to account
for `db.xml` location.
- Add check for `FILENAME_BLOCK_DB` as well as
  `FILENAME_BLOCK_CONTROLLER` as these could be different directories.
Fix Orphaned Child Models in Workflow Delete

Fix orphaned child models in workflow delete.

Likely related to issue with workflow error if workflow in progress is
deleted.
Fix Typo in WorkflowProgress Model Call

Fix typo from `WorkflowProgess` to `WorkflowProgress`
adding cache local clear to collection version record
fixing package block install bug
fixing global block design problem
fixing file attribute properties HTML
Merge pull request #961 from mkly/bugfix_file_versions_display

Fix Version Display in Dashboard
tweaking cache key
Merge pull request #962 from mkly/bugfix_quicknav_intelligent_search

Fix Quick Nav Add/Remove Break Intelligent Search
merging js
Fix Divide By Zero Error if No Votes

Fix divide by zero error if no votes in survey.

Possible future addition would be validation to prevent submitting form
if not votes.
 Fix URL Removed Word List for Empty String

Fix url removed word list of empty string.

- Accounts for empty string
- `explode()` should always return an array
- filters even single string to account for multiple spaces
- Remove `?>` from bottom
Remove `$value=0` From Previous Commit

Previous commit incorrectly set `$value=0` and caused issue with graph
rendering
Fix Block Design Preset & Footer Buttons

Fix block design preset switching and footer buttons on refresh.

- `ksort()`'s option array so default(no custom) is first
- Checks for `$_REQUEST['refresh']` before including footer buttons to
  prevent double set of buttons in footer
Merge pull request #965 from mkly/bugfix_fix_orphaned_children_in_workflow_delete

Fix Orphaned Child Models in Workflow Delete
fixing child pages bug