Don't add trashed/unpublished/draft pages to sitemap
Fix Orphaned Alias Page Paths on Delete

Fix orphaned alias page paths on delete.

- Remove alias from PagePaths table when original page is deleted
Fix Archive Override

Fix archive override

Change /concrete/libraries/archive.php to extend
`Concrete5_Library_Archive`
Merge branch 'fix-sitemapgeneration' of github.com:mlocati/concrete5 into fix_sitemap_results
Account for No Page Version

Account for no page version when checking if version is approved.
Fix Insert ID on getOrCreate

Fix insert id on `GroupPermissionAccessEntity::getOrCreate()`

- move `$db->Insert_ID()` call to below `Config::save()`
Check DIR_LANGUAGES_CORE if $local file not found

Check DIR_LANGUAGES_CORE if $local file not found in DIR_LANGUAGES

- Refactor to flatten for new code and readability
Sanitize potentially unsafe data before it is used in header redirects
Corrected variable name
Security helper: helper methods are not used statically in C5
Updated all uses of Security helper to use Loader::helper rather than calling statically
Merge pull request #1138 from mkly/remove_orphan_alias_page_paths

Fix Orphaned Alias Page Paths on Delete
Merge pull request #1139 from mkly/fix_archive_file_override

Fix Archive Override
Merge pull request #1140 from mkly/fix_sitemap_results

Fix sitemap results
Merge pull request #1141 from mkly/fix_insert_paeg_peid

Fix Insert ID on getOrCreate
Merge pull request #1143 from mkly/check_core_language_directory

Check DIR_LANGUAGES_CORE if $local file not found
Merge pull request #1145 from bluefuton/security-open-redirects-revised

Security: sanitize potentially unsafe data before it is used in header redirects (revised)
Check For Global Area on 'Setup on Child Pages'

Check for global area on 'Setup on Child Pages'

Check if Area is GlobalArea before displaying option 'Setup on Child
Pages' as GlobalAreas do not have that ability

Currently shows non intuitive permissions error
Update JS Build

Update JS Build
Merge pull request #1147 from mkly/fix_setup_child_pages_global_area

Check For Global Area on 'Setup on Child Pages'