Moved the registerLocalService() and unregisterLocalService() methods into the base class, so there is no longer a dependency on SQLite for services that do not use it; changed the SQL 'insert' and 'delete' statements to use named parameters, rather than direct references to numeric indices.