Revert "Revert "Merge pull request #1272 from bastiaanve/master""

This reverts commit 0ebb1aa666d4b61d396a4a64616d5671d83d61e7.
Merge pull request #1302 from bastiaanve/master

Add support for attributes defined in res-auto namespace