Remove useless gettext call in sql engine

This fixes bug #1091675

Change-Id: I0bdb07ecbe43e6f6c04626a73cb16bdf580a6a35
Signed-off-by: Julien Danjou <julien@danjou.info>
Fixed erroneous source filter in SQLAlchemy.

Also added test cases for source filter. This fixed bug 1093580.

Change-Id: Ie3d99e7f27064f88196d6b0a7139fba36251b3c0
Merge "Fixed erroneous source filter in SQLAlchemy."
Merge "Remove useless gettext call in sql engine"