Fixed Profile saving & loading

The saveData() & loadData() functions each contained minor bugs
introduced when Profile was moved out of Core.
Modified code into libtoxdata
Merge branch 'data-saving' into data-saving-test

Conflicts:
	src/profile.cpp
Fixed libtoxdata submodule