add compatibility with php 5.3
set usable return value
add category function
Merge branch 'master' of https://github.com/oss-fruct-org/gets