updated package.yml
use $this shortcuts
avoid notices and strict warnings
Merge pull request #16 from gharlan/bugfixes

package.yml Update, Bugfixes