Added in profiling to the rules, added extra profiling into the streetSegment rule and fixed a possible crash in ballot mapper.
Adding a possible fix to the invalid objectId bug.
Also fixed an issue that was causing the uniqueIds not to work properly.
Merge branch 'working' into dev