Check for taxonomy module, it is unavailable during install.
Move taxonomy hooks to main module file

they were not activated otherwise.