Fix strict standards notices

Fixes strict standard notices
Removed ending PHP tag
Adds the fixes to the changelog