Refactored function determining validity of register input data.
Refactored function determining validity of input data when adding a location.
Refactored function determining validity of input data.
Merge branch 'master' of https://github.com/matt423/wild_camping into clomax/fix