Add CKEditor 4 to bower dependencies
Add a 'ckedit' directive for enabling inline-editing on an element using CKEditor

Taken from:
http://ericpanorel.net/2013/08/03/ckeditor-4-inline-mode-angularjs-directive/
Starting work on a rich-text question editor using CKEditor. Questions now support rich formatting.

Issues as of right now:

- Answers are not yet supported
- The ability to edit the questions is not yet called out visually (no shading, no effects on hover - you have to actually click on the question text, which is not very discoverable)
- Autosave for questions is currently broken
- The actual toolbar items have not yet been given any thought.
- The rich text editor would probably be better suited as an Element (E) directive, instead of an Attribute (A) directive, and then setting toolbar options could be implemented as attributes.
- There's a somewhat cryptic tooltip that currently shows up when hovering over questions ("Rich Text Editor, __ckd_1")
Edit Quiz: Remove useless tooltip when hovering over questions
Creating a prepublish script for installing bower components and ckeditor plugins, and add the confighelper plugin.

Installing bower components used to be done via a postinstall script, but this had a couple issues.

First, it is recommended that these sorts of tasks are done as part of prepublish.  See here:

https://npmjs.org/doc/misc/npm-scripts.html

Second, it didn't work on Windows.

Now, the prepublish script (which is now a javascript file executed by node) checks what platform we're running on and executes the bower install command appropriately.

NOTE: The script currently assumes that bower is installed globally if running on Windows.  This will need to be clarified in the README.  Platforms other than Windows should work fine even if bower is not globally installed (it runs the script in node_modules).
Move dependencies required for prepublish script from "devDependencies" to the main "dependencies" list.

heroku buildpack for Node.js does not install devDependencies
Making answers also use ckeditor, and styling both editors to look like regular textboxes
Minor comment update
Add .bower-tmp to .gitignore
Edit Quiz rich text editor: Update model contents immediately as you type
Fix the $watch on the ckedit directive to only update the editor contents based on new model value if it's actually different from what's in the editor, and revert previous commit by bringing back scope.$apply. This also fixes the answer editor, which was broken (ng-keypress had a side effect of triggering the $watch, which caused editor.setData() to be called, which reset the cursor position, which made typing impossible).
Adjust semantics of the ckedit directive, and fix autosave

The ckedit attribute is going to hold the config object for initializing ckeditor (this is not yet implemented), and the actual model object is now identified using the ng-model attribute.

Example: <div ckedit="myConfig" ng-model="question.questionHtml">

Reading in myConfig is not yet implemented.

Autosave is fixed by calling controller.$setViewValue based on the editor contents. What this does is make Angular recognize CkEditor as a custom form control, which makes $dirty and $pristine get updated appropriately, which are then used to trigger autosave. See here for more info (section "Implementing custom form controls"):

http://docs.angularjs.org/guide/forms
Use standard textbox instead of ckeditor for answers

Can't test user submissions for correctness when the answer is formatted in HTML. It might make sense to allow answer explanations to be richly formatted when those are implemented, but for now, answers should only support plain text.
Make the answer text box inline

We don't support multiple lines, and it takes up less room. It also helps to distinguish a bit between the rich text field for the question and the plain text field for the answer (which previously looked nearly identical).
Edit Quiz: Make answer textbox initially smaller, but also automatically expand it up to the full width if the user types a lot of text
Show formatted questions when taking the quiz (instead of dumping the raw HTML)
Rename questionText field to questionHtml
Fix for really long quiz names

Prevent word wrapping in the header, and expand the max width.
Edit Quiz: Autofocus on the quiz name field
Use the full version of ckeditor