Upgrade to rails 4.0.12 and add windows support

maybe will make the tutorial focus more windows programmer?