Added some safety around property getters/setters where it checks to see if it can be compiled properly first now. Also, created the start of a reflection API in JS.

TODO: Still need to implement prototype.GetType() for unions/records/reflected definitions/unknown objects.