Use SWIG error routines where possible

Instead of Python-specific functions.
Move generic testing stuff to tests/pyrapi/stuff.py
Start sample 'align' script
Add notion of loading one of a selection of aligner plugins