Fixes various Aero drawing issues

Fixes:

* adobe/brackets#7222
* adobe/brackets#5288
* adobe/brackets#6801
* Two issues reported by @MartinMa

Adds:

* `cef_buffered_dc` class for easier implementation of buffered drawing whenever needed
* inactive border drawing state courtesy of @larz0