Merge pull request #2397 from manuelmitasch/ember-add-assets

Ember.js: Add assets img + css (ember-hacks.css) to ember admin
Fix earlier commit for grunt watch.

refs TryGhost/Ghost-UI#18
- Trigger livereload when files in core/client/assets/css/ change
- Copy over new ghost-ui files when changed
Remove .bowerrc

If there are no further comments or suggestions for #2386 then I think it would be good to get this in. Remove .bowerrc from base repo but allows it to still be used for people with specialised dev environments by adding to .gitignore
Merge pull request #2407 from JohnONolan/no-bowerrc

Remove .bowerrc
Flesh out more of the Ember admin

no issue

- this ports over screens from old admin to
 allow people to begin working on aspects of the screen

- All logged out screens have been imported: Signup, Signin,
 Forgotten password, reset password

- Those screens are now ready for behavior to be ported over

- This also updates templates to be more in line with how they were
 in the old admin

- Littered through the code are @TODO comments of functionality that is
 missing and will need to be resolved before this is production ready

- Also scaffolds out the settings screen and every tab
Merge pull request #2404 from hswolff/ember-scaffold-ui

Flesh out more of the Ember admin
Merge branch 'master' into ember

Conflicts:
	bower.json
	core/client/views/editor.js
Fixes race conditions in functional test introduced in PR#2395

fixes PR#2395
- in editor_test.js line 272, I wait until the post settings menu appears, and THEN also wait until the delete post button appears, rather than just waiting for the first condition, this can result in a race condition which has been seen.
- in editor_test.js line 229, I click on the tag, then wait until it disappears, rather than asserting the tag doesn't exist immediately.  This could potentially result in a race condition, but I have not seen it yet.
- in editr_test.js line 315, I click on the delete post button, and now wait for the modal container to appear before clicking the accept button.  This could result in a race condition, but I have not seen it yet.
Merge pull request #2430 from mattse/mattse#2409

Fixes race conditions in functional test introduced in PR#2395
Fixes random pg failures.

fixes #2075
- Updates knex to latest version
- Fixes expected value in page test
- Change fixture insertion to be sequential
- Add orderBy to insertMorePostsTags fixture helper
Merge pull request #2403 from halfdan/watch-ghost-ui2

Fix earlier commit for grunt watch.
Merge pull request #2409 from halfdan/2075-pg-errors

Fixes random pg failures.
Fix scoping issue on signup

closes #2429
Refactor the Ghost Editor

issue #2385, issue #2108

- Separate out the various objects which form the editor into their own
  modules
- Decouple the modules where possible
- Rename and reshuffle bits of modules for consistency
- Minimise public APIs of the modules, and ensure they are consistent
- Add comments to the modules
Upgrade CodeMirror

closes #2108

- upgrade to 4.0.1
- requires removing the deprecated setLine method
Fix undo bug

issue #2436
Merge pull request #2398 from ErisDS/cm-refactor

CodeMirror Refactor & Upgrade
Force preview to scroll to the end

fixes #958, fixes #535

- If the cursor is within the last 5 lines, then scroll to the end of the preview window, rather than using a ratio
Rename getSlug to slug

another 2 % of #2124
- renamed `/ghost/api/v0.1/posts/getSlug/ to
`/ghost/api/v0.1/posts/slug/`
- renamed method getSlug to generateSlug
Merge pull request #2428 from Decad/master

Fix scoping issue on signup