Fixed the retrieval of the value of options

The DOM property should be used rather than getting the attribute directly, to support properly elements which have a fallback behavior when their value attribute is missing (option elements are using their text in such case).

This fixes the test failure for options without values. refs #98