(Bug 4895) Include jquery.ui.core.js in more places

Dependency of the other jquery.ui.* components, we were including it some of the
time but not all of the time, which made things break in very specific cases.
Merge pull request #278 from afuna/jquery-ui-core-bug4895

(Bug 4895) Include jquery.ui.core.js in more places