FIX extra_requirements to accept non associative arrays.

Added unit tests for extra_requirements_js and extra_requirements_css.

Fixed YAML documentation to indicate list syntax.
Doc cleanup (spelling, line length, grammar)
Merge pull request #2046 from wilr/leftandmain_requirements

FIX LeftAndMain::extra_requirements to accept non associative arrays.