Added the getCreatedOn and getExpiresOn methods to Item

This adds back the methods from 6b19e48c940, currently passing local
PHPUnit tests, pushing to check TravisCI from GitHub.