Fixed __mainContext error
Fixed __mainContext error

There was a condition checking if blockchain config was disabled and if so, do not generate any provider code, which is where the `__mainContext` was being defined. This was changed to generate the `__mainContext` code first, then if blockchain is disabled, return the already generated code.

iurimatias/embark-framework,iurimatias/embark-framework