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
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
Merge pull request #2428 from Decad/master

Fix scoping issue on signup
Merge pull request #2437 from ErisDS/cm-scroll

Force preview to scroll to the end
Add shim for codemirror on touchscreens

fixes #2385

- stolen the CM shim from js-bin
- if we're on a touchscreen device, don't use CM
- if we're on a touchscreen device, show a coming soon message for uploads
Merge pull request #2438 from ErisDS/cm-mobile

Add shim for codemirror on touchscreens
Fixes modal fading inconsistency problem by disabling jQuery's
transition and allowing CSS to do its thing

closes #2400
- Removed fadeIn, jQuery's animation
- Added show(), which only manages display, giving transitions to CSS
Merge pull request #2405 from nicksahler/master

Fixed modal inconsistent fade problem