Pdo - additions and improvements

Added function to register functions in sqlite. Rewrite fetchAlls. Added some checks.