Fix solution-wide build and refactor compiler a bit to clean it up
Add support for optimizations that remove unused code from the emit phase
Revert "Add support for optimizations that remove unused code from the emit phase"

This reverts commit 7f4f32d2927ff9b4811b0aa53bdfcaf797ea9959.
Fix int division bug introduced when refactoring code for the new version of roslyn