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)
Fix build on some compilers (William Casarin)
pushed to nostrdb:refs/heads/master
http://git.jb55.com/nostrdb/commit/5201dc464424c15d7f40c13ed06ade245d741963.html