Add named paths for pages to workaround rails #16058
Merge pull request #2709 from anitagraham/Slash-encoding

Add named paths for pages to workaround rails #16058

Fixes #2695
Fixed intermittent build failures by looking for both image title selectors.
use named path for pages to be saved normally
Merge pull request #2710 from refinery/fix-intermittent-build-failures

Fixed intermittent build failures by looking for both image title selectors
Merge pull request #2712 from Martin91/fix-issues#2711

use named path for pages to be saved normally
Fix preview of image on insert

Problem: when inserting an image with the image picker in an image field, the preview is broken (broken image tag). (otherwise the preview works)

Solution: the image path is: `<path>?sha=some_sha?23432`, notice the random integer at the end, which isn't needed anymore (I assume). So I just deleted that part in the js file.

Background:
* the problem was mentioned by @eshaiju in https://github.com/refinery/refinerycms/issues/2681#issuecomment-56522971
* the random int was added here: https://github.com/refinery/refinerycms/commit/ec3f2a907116a8c1c9afc59bb082cdb8c3b9c2b5
Added a blank.png to masquerade as apple-touch-icon.png and apple-touch-icon-precomposed.png when generating a dummy application.

Fixes #2714
Changes to specs to remove deprecated syntax

Conflicts:
	images/spec/features/refinery/admin/images_spec.rb
	images/spec/models/refinery/image_spec.rb
	pages/spec/models/refinery/page_spec.rb
Convert specs to RSpec 2.99.0 syntax with Transpec

This conversion was done by Transpec 2.2.4:
on refinerycms/authentication, core, dashboard, images, pages, resources

Conflicts:
	authentication/spec/features/refinery/passwords_spec.rb
	authentication/spec/features/refinery/sessions_spec.rb
	authentication/spec/models/refinery/user_spec.rb
	core/spec/lib/generators/refinery/engine/engine_generator_sanity_check_spec.rb
	core/spec/lib/refinery/activity_spec.rb
	core/spec/lib/refinery/application_controller_spec.rb
	core/spec/lib/refinery/cli_spec.rb
	core/spec/lib/refinery/core_spec.rb
	core/spec/lib/refinery/plugin_spec.rb
	core/spec/lib/refinery/plugins_spec.rb
	dashboard/spec/features/refinery/admin/dashboard_spec.rb
	images/spec/features/refinery/admin/images_spec.rb
	images/spec/models/refinery/image_spec.rb
	pages/spec/features/refinery/admin/pages_spec.rb
	pages/spec/lib/refinery/pages/url_spec.rb
	pages/spec/models/refinery/page_spec.rb
	pages/spec/presenters/refinery/pages/page_part_section_presenter_spec.rb
	pages/spec/presenters/refinery/pages/section_presenter_spec.rb
	pages/spec/presenters/refinery/pages/title_section_presenter_spec.rb
	resources/spec/models/refinery/resource_spec.rb
Just test whether TruncateHtml is even called.
Fix deprecation: `expect { }.not_to change { }.by()` is deprecated.
Updated RSpec syntax from 2.x to 3.x
Ensure that Globalize locale is set to :en before running some pages specs.

This fixes the intermittent failure caused by, for example, seed 29561
> Failure/Error: click_link "Remove this page forever"
>      ActiveRecord::RecordNotFound:
>        ActiveRecord::RecordNotFound"
Fix alignment of close button in backend flash messages
Fixes #2717 by updating the edit page URL upon save & continue editing.
Added https to links that are able.
Just serve the logo relative to the website.
Corrected pull request link in changelog
Improved changelog consistency