Fixed editing of one time custom locations

Turns out that just setting date doesn’t work, and we needed to create
an actual object out of the saved date for editing.
Merge branch 'master' into protractor-tests
Added test cases for one-time custom locations

This covers creating, editing, deleting and undoing deletion.