Fix foo= and ~foo sdb_sync issue and simplify sdb_hash()
Fix sdb_hash arguments in excess & add tests for deletion ('~')