Modified gitignore.

Excluding /dist, /nbproject to avoid unnecessary syncing.