Moved actions/privilegedactions_test.py to tests/.

Added new "--pause" option in test.sh to pause after each test.
Merged JValleroy's test updates.

The *user_store* tests can find the user_store module, and now the
tests fail for completely different reasons!
Merge JValleroy's test fixes.