Re-submitting #1204 - allow puppet classes to be imported by environment

This PR allows user to import puppet classes from a specific environment manually, from both GUI and Rake.

![screenshot1](https://f.cloud.github.com/assets/3453782/2096036/de48bce2-8ef7-11e3-9691-b2d82a8293e6.jpg)

Developers can click a button to sync the classes they recently created/updated/removed in a specific environment to Foreman, without waiting for the lengthy full class/environment sync to be finished by "ruby193-rake puppet:import:puppet_classes[batch]"