Added get_id_index Function

The get_id_index function takes an argument of a database table field
(and one for table if you don't want to set and use the selected table)
and prints a json encoded string index in the form id:(db field arg)

Removed unnecessary return values in the write function.
Changed the toString Function

Now returning a string that is easier to work with when returned from an
xmlrequest object.
Removed BlogPost

The BlogPost class is only being used in one project so it will reside
in that projects directory until it is used in other projects.