Use session-scoped fixture to create QApplication

Also, only create an instance if one doesn't exist yet,
to play nice with other code that may already have
instantiated a QApplication object

fixes #21
updated travis build to latest pytest
fixing code-coverage
Merge pull request #22 from nicoddemus/qapp-session-scoped

Qapp session scoped