Updated .gitignore

updated gitignore file to ignore unwanted .po files and .compiled files.
Updated .gitignore
Updated database refresh script

updated script which copies the sample database from the GIT repository
to the local directory to create the ~/.config directory as well.