add .Rproj and tweak style.

1. Add .Rproj to allow RStudio users to generate a package source more easily, and to allow people patching to more easily maintain consistent style with the project;
2. Change JuliaExists to julia_exists to be consistent with other function names.
3. Tweak spacing in modified functions to match existing style (two spaces == one level of indentation)