fixed level generation in Javascript

if there are non-hidden requirements the question isn't complete at
that level
only open sections containing mandatory fields when they're highlighted
Merge pull request #310 from theodi/fix-wrong-level-via-JS

Fix wrong level displayed via Javascript
Merge pull request #314 from theodi/feature-use-memcached

Use memcached
Revert "Merge pull request #314 from theodi/feature-use-memcached"

This reverts commit f00ba0693a4634283f372c4ff9eb420e7a669cdc, reversing
changes made to 70615eef4ca763db70079c83db45a9d9aa42666c.
Merge branch 'master' into feature-use-memcached

Conflicts:
	config/environments/production.rb