Updates code to make it work with php 5.3
Merge pull request #13 from deseretdigital/make_code_work_php53

Updates code to make it work with php 5.3
Merge pull request #14 from deseretdigital/develop

Release develop into master