Refactor the date query from being a plugin to being part of Beets core.

Fields of the type DateType will now automatically be queried by DateQuery.