Unify macros which generate binding codes.
Clean up macros to handle html tags.
auto merge of #1074 : saneyuki/servo/macro, r=jdm