Moves $db->getEscaped to $db->escape in controller.php

Fixes issue #42

Signed-off-by: Eric Fernance <beanie@purplebeanie.com>