add copyDatabaseIntoDocumentsDirectory method

Added a method to make sure that the database file will exist in the
documents directory of the app (if not, get it from the app bundle and
copy it to the documents directory)