DBHelper doc and types by name

Added some Docs to functions.
You can now get all entries by type with typenames as well.
Renamed getAllEntriesWithTag to getAllEntriesByTag