differentiate class Pref and instance pref
auto load folder for opened file
Merge pull request #8 from randy3k/autofolder

Auto add the parent directory for an open file to project_data() when it is contained in the folder list