Add support for the targets check and check-post to projects-dir.mk
to make them usable from inside the projects directory.
Note that check-pre is intentionally left out: Running make check in
a repo before its prerequisite repos have built their __init__.py
files will fail due to broken import resolution.
Signed-off-by: Jan Lindemann <jan@janware.com>