added factory methods to model classes
replace htmlentities() with h(), and bump up required c5 version to 5.6.1
change php echos to <?= short tags
Merge remote-tracking branch 'origin/master'