Append datepicker to a specific container instead of body (set as default)

Allows to append the datepicker DIV to a specific container instead of body.

This is particularly useful in single-page-application where the body is never reloaded.