export QIF excluding multi-currency transactions

Tried to introduced some database VIEWs to simplify SQL Queries.

Temporary view is used now, which only exists in one DB session.