Restore gateway.css file to theme 3
Merge branch 'ww2.5.1.3' of https://github.com/mgage/webwork2-dev into ww2.5.1.3
Read database schema from database.conf.dist instead of from database.conf.  This way there is no longer a need to create database.conf and no possibility of forgetting to do so.  It's still possible to do overrides by uncommenting the last line in datbase.conf.dist
change overflow from hidden to auto for body box
Use knowls to show hints and solutions

The following configurations (in defaults.config) control behavior:

+# Show solution button
+$pg{options}{show_solution_button} = 0;
+
+# Show hint button
+$pg{options}{show_hint_button} = 0;
+
+# Use knowls for hints
+$pg{specialPGEnvironmentVars}{use_knowls_for_hints} = 1;
+
+# Use knowls for solutions
+$pg{specialPGEnvironmentVars}{use_knowls_for_solutions} = 1;
+
Add clear:both to keep problem_set_options from popping up on the right of the problem sets.
Add configuration flags for using Hints and Solutions with and without knowls

Remaining errors:
 1. the number of attempts is often off by 1 or 2 -- this is a very old bug
 2. the hints checkbox is often displayed prematurely.  This is related to the
    fact that Problem.pm doesn't know the number of hints to allow until after
    the problem is rendered.
 3.  We are using showHint and showHints for all sorts of things.
     There is also a showHintLimit which is supposed to count number of attempts      after which the hint shows up. Not sure ANY of these are working properly.
     The variable names should be changed to be more distinctive.
 4. The instructor hints are not displayed automatically when the page is entered
    from a nearby problem, only after the page has been submitted.  This relatd to
    issue 1. above.

Section taken from defaults.config

 .# By default hints and solutions are ALWAYS shown for professors (and above) so that they
 .# can check hints and solutions easily and make corrections.
 .# To disable this feature set the permission  levels
 .#               always_show_hint  to  "nobody" (by default this is "professor")
 .# and   always_show_solution to "nobody" (by default this is "professor")
 .# This is done in the %permissions section above.

 .# If always_show_hint is set to "nobody" then hints are shown, even to professors, only after
 .# a certain number of submissions have occurred.  This number is set in each problem with
 .# the variable $main::showHints

 .# Use knowls for hints
$pg{options}{use_knowls_for_hints}          = 1;

 .# Use knowls for solutions
$pg{options}{use_knowls_for_solutions}      = 1;

 .# The buttons below are active only if knowls are being used. If set to 1 then the hints (and solutions)
 .# checkboxes are shown and when these are checked and the problem resubmitted THEN the knowls outline
 .# appears.  I can't immediately think of a useful case where these should be set to 1.  If knowls are not being
 .# used then these checkboxes are ALWAYS shown when a hint or solution is available and the value
 .# of these two options is ignored.

 .# Show solution checkbox
$pg{options}{show_solution_checkbox} = 0;

 .# Show hint checkbox
$pg{options}{show_hint_checkbox}     = 0;
Add clear:both to style for problemFooter.  Email and past answers should not float.
Added comment: userRole nobody is already defined in defaults.config but is redefined here. Doesn't hurt but should it be left this way? Might be confusing if someone tries to change the parameter in defaults.config.
Merge pull request #88 from mgage/ww2.5.1.3

Add ability to show hints and solutions as knowls