Improvements to the generic getBy method

Signed-off-by: Suki <suki@missallsunday.com>
.gitignore .___.

Signed-off-by: Suki <suki@missallsunday.com>
return !empty($return) ? $return : false;

Signed-off-by: Suki <suki@missallsunday.com>
OK, done with the class for now

Signed-off-by: Suki <suki@missallsunday.com>