Added support to framework 4.0 and 4.5

Added the file build.bat to compile and create the package for framewoks 4.0 and 4.5. Also changed the project to support both frameworks.