fix for #952 

add user_data_dir to App class to get a platform conformant path to store user data
fix for #952