A better, simpler reflection helper

Based on discussion in https://github.com/facebook-csharp-sdk/simple-json/pull/49, here's a simpler way to work out the fields/properties on a type at runtime...