Make the test target work with the bd_utils library

We need to tell the g-ir-scanner as well as ipython to take the library into
account and where to find it.
Ignore *.pyc files

Running tests produces them.