added docblock to helper function.
added proper espacing for quotes to session type titles.
removed obsolete method ilios.ui.preventEnterKeyPressFromSubmittingForm ().
added docblock to method hackilySetButtonTitleOnYUIDialog.
initial check-in of ilios.ui test spec.
rigged ilios.ui test spec to spec runner.
added further docblocks.
rigged ilios_ui.js to specrunner.
fixed namespace test. added type check test for ilios custom event.
Test for ilios_ui_rte

Tests to ensure that default buttons are set by the RichText creator.
Ensures that default variables can be overridden.
Ensure that configuration can be passed to the YUI super class
Resolves #449
Merge pull request #572 from stopfstedt/session-type-char-escaping

escape quotes in session type titles properly.
Merge pull request #573 from stopfstedt/ilios-ui-js-jasmine-tests

Ilios ui js jasmine tests
Add vnd.ms-office as mime type

The linux file command has started returning
“application/vnd.ms-office” for powerpoint and probably other ms office
files.  This adds that as an approved type for all MS documents.
Merge pull request #575 from jrjohnson/ucimimetype

Add vnd.ms-office as mime type
Merge pull request #574 from jrjohnson/449-jasminerte

Test for ilios_ui_rte
Change the default spin time

A minute seems like too long of a default wait if it isn’t working in
20 seconds its probably not going to work.
Spin less on login

The login has a tendency to fail when sessions get mixed up.  Because
this slows down the development process so much we only wait 5 seconds
for these to fail.
Test Courses and Sessions

First we create a test program and test learner groups.  These are done
programmatically to avoid duplication of testing code.
In order to set objective titles we actually have to insert javascript
into the page which interacts with the yui editor object.  There
doesn’t seem to be any other way to type in the iframe YUI editor.

Since courses page required unique names we need to refresh the db
between behat runs.

Update sauce FF version
Merge pull request #577 from jrjohnson/coursetest

Test Courses and Sessions