Fix file headers
Add field "category" to transactions
Add support for magento 1.7, 1.8 (base theme)
Add file headers to templates