fix(datepicker): fix ngAnimate 1.3 error when using autoClose

By including the ngAnimate/ngAnimateMock in the datepicker tests, I was able to replicate this issue. Applyed same solution as was done for timepicker, by wrapping the autoClose call to hide() inside a $timeout.

fixes #1150