Allow passwords to be reordered

Adds drag and drop functionality to allow passwords to be reordered.
Add some utility methods for class manipulation on elements to
common.js.
Add some new styles for drag/dropping of passwords.
Fixes #17