JSON-encode stuff use text instead of varchar(255) a couple of places create Bossa class for utility functions svn path=/trunk/boinc/; revision=13908