Add comparing and merging of memberservices.
Syntax fix.
Get my unittest working and add some for the new API.
Fix some small bugs.
Unittest for recursive merge.
More tests and fix logic bug in recursive merge.
Add missing test.
Changed functionality of merge, better change assertion too.
Add updating of memberservices based on similarity (grade, subject and
access_path).
Add tests for this.
Moved methods to script.
The eventhandler should make merging here unnecessary.
iterate over member services to check grade, subject and access_path
rather than querying for those member services since this will require
reindexing all current member services
fig reference to member_services
rename service to service_purchased

use member_services_for to query for member services
query for all practice service uuids, not just the ordered one
unused import
set related_service properly
Add local utility to generate, store and check verification codes.
Test new verification utility.
Use new API.
Make sure we use only ints.