add .swp
catch gpio module not found
more jslint fixes
first try at motion detection