Profiles -- they actually work!!!!!!!

After many months (that is to say, 2) of procrastination and laziness (with a bit of school sprinkled in), profiles are finally done!

As a side effect, it should be nearly trivial to apply connection settings without having to restart, using the switchConfiguration function (though I'll wait with that until this gets merged).

Password encryption is also probably a bit easier to manage, but I'd also like to work on that in apprb's history branch (with its new privacy settings).