PersistenceBase<T>.Retrieve now does ID check

Added new integration tests to reflect this functionality change.

Added other integration tests to check what happens when retrieving
non-existent items with valid IDs.
ItemCategoryPersistence.Retrieve now does ID check
Import now concats newline in from of new notes
Test addition - import merge updates data