Fix analytics directives

The docs indiciate you can use directives like 'analytics-category',
however the ifProperty check was incorrect and preventing them from
being used.
Revert change to isProperty function
Merge pull request #12 from ctso/master

Fix for 'category' and 'label' directives.