add user_data_dir to App class to get a platform conformant path to store user data
make sure expanduser is called on the returned string
Merge pull request #1020 from hansent/app-user-data-directory

fix for #952