Removed commit().
Removed columns in Peer table.
Small fix.
Cleaned up Peer table.
Small fix.
Dropped the Friend VIEW.
Small fix + update unit tests.
Merge pull request #338 from LipuFei/db-cleanup

DB Cleanup