Added .gitignore and removed debugging files

Took out target, work, .iml and .idea files that are for debugging and shouldn't be in source control. 
Added .gitignore