Fix Pikaday being undefined
What does this MR do?
Pikaday was originally global which would create some weird dependancy order issues. So this imports the Pikaday module into the files we use it in.
What are the relevant issue numbers?
Closes #36207 (closed)