removed unneeded commands from travis conf
ignore vim swap files and sqlite db
tests and implementation for image resource