Made resources load from matching protocol and added gitignore setting for cloud9 editor