fix key snapping
change how SelectionManager works, pass data instead of dom element
bump version to 1.7.0 and update build files