Correct handling of aria-hidden with JavaScript

These changes change the aria-hidden value according to the visibility
of the modal.
Tests are included.
For reference see:
http://www.w3.org/TR/wai-aria/states_and_properties#aria-hidden

Closes #92.