Move class to psb package
Fixed recursion problem on publish method
Switched to gson for json serialization
Added sample for java and android

Signed-off-by: rpgmaker <olamide.bakre@gmail.com>