Move requirements checking earlier in the process

This allows us to check requirements before importing rest of the code,
so that we can tell user in nice way that something is broken instead of
ImportError of deep submodules.

Issue #427
Improve check for translate toolkit

It should now properly fail in case different translate module is
installed.

Fixes #427