Fixed failing server test + added gitignore

There was a failing server test due to the optional parameter in file
not being set correctly.
Also added the gitignore file so packages, lock file, etc not included
in file list.
Merge pull request #1 from PaulECoyote/master

Fixed failing server test