Convert bootstrap code from R to Julia

This commit translates the bootstrap code from R to
Julia. I'm going to change all of the code to Julia
eventually.
Convert model selection code to Julia

This commit translates the code for the model selection chapter
to Julia from R.
convert code snippit in LRT discussion to Julia