Add support for .dockerignore files

Please feel free to reformat any of the java code.. I wasn't sure what your policy was.