1. You can do it like sebastian have answered, or to change inside dataset management metadata. There you can set what you want for measures/attributes
2. Yes sure you can. We are reviewing our repository but on github we have source code of released versions. You can fork and create pull requests
3. For know we do not have that possibility.
4. All available options for heatmap that we have, you can find in our chart designer,