add init framework for Foundation 4

- also cleaned up some of the logic in init.rb
document foundation option