Move logging directory into AppData for application

Move the logging folder into the same location as the pref file to
support deployments without write access to the binary location
Sort package manager search results by name, maintainer, votes, downloads
Add files to a package in the publish package dialog
Sort packages by most recent update, by default sort packages by most recent update in search
Small tweaks to speed up package manager search