Merge pull request #160 from BNoiZe/master

Fixed a typo
fix wrong usage of rowCount()

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
migrated ApsInstaller and ApsUpdater, fixed typo in traffic-cron (thx to Sephi), refs #1287

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>