Datepicker: Saner id attribute values for the test suite.
Datepicker: Support changing the appendTo option after init.

Adding tests for the appendTo option.