Fixed random failure of test caused by randomized ordering of resets in map.

Previously failing test:
TestSingleScopeWithMultipleRegistrationsAndMultipleResets
Tests were failing randomly because the order of the results varied.

The keys of the internal map are now sorted and ranged in order to give
a consistently ordered response that we can assert against.
Initial work on package profiles.

#176
Removed the short flag from the server.
The profile is working, but there are tests to write.

And lots of edge cases to think about (malformed profile, ui concerns,
etc...)