Add Umbraco.Core.dll and set the target framework version to 4.5
Add IApplicationEventHandler and remove ApplicationBase