Back ported week selector fix and adopted some of the tests. Closes https://github.com/AMDmi3/opening_hours.js/issues/18.

Based on version:
https://github.com/ypid/opening_hours.js/commit/637f9223d0c6ba6373c2c58b8fdbe047306682be