Add macros make_getters! and make_bool_getters! for #1931

An example of how this is to be used can be found [here](https://github.com/Manishearth/servo/compare/getter-usecase?expand=1).