profile.py: Cleanup a few pylint warnings

This adds self._dmesg definition to the TestProfile constructor (this
isn't necessary but it's good form), and renames self.__dmesg to
self._dmesg. A double underscore is not about making an name or method
private, it's about making it invisible to that class's children. We
don't want to hide self._dmesg from any children of TestProfile.
profile.py: stop exposing private methods of TestProfile

This patch stops exposing flatten_group_hierarchy and prepare_test_list
by marking them with a leading underscore. These methods weren't meant
to be called outside, and this is the pythonic way of letting users know
that these are "private" methods.
profile.py: set __all__

Setting the __all__ name in a module controls which names it exposes
when imported.
framework: rename profile.loadTestProfile to profile.load_test_profile

This is a more pythonic name for this method.

This patch was created with the following shell command:
find . -name '*py' | \
xargs sed -i -e 's!loadTestProfile!load_test_profile!g'