optimized function just for fetching notekeys from indices (William Casarin)
return primkey keys on profile and note index queries (William Casarin)
test: add test for profile replacement logic (William Casarin)
add transactions (William Casarin)
pushed to nostrdb:refs/heads/master
http://git.jb55.com/nostrdb/commit/ae4ec323891057d54382a2dddc483f183b208e1b.html