Marker information should be written into database by DBAppender

This patch modifies DBAppender to include marker information in the data written in the database.
SQL scripts modified.
Tests updated.