remove trailing php close tag and empty lines

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@6452 7882d7ee-46e0-0310-a255-a28a61b628e4
remove redundant cocstructor and variables

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@6453 7882d7ee-46e0-0310-a255-a28a61b628e4
move $styles so that it is always defined

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@6454 7882d7ee-46e0-0310-a255-a28a61b628e4
bugfix: correct variable name

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@6455 7882d7ee-46e0-0310-a255-a28a61b628e4
Bugfix: correct variable name and returned missing variable

while replaceing serialize/deserialize with json counterparts there was
	a bit to much copy/pasta

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@6456 7882d7ee-46e0-0310-a255-a28a61b628e4
clean code and removed dead code

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@6457 7882d7ee-46e0-0310-a255-a28a61b628e4
remove dead commented code

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@6458 7882d7ee-46e0-0310-a255-a28a61b628e4
fixing small issues

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@6459 7882d7ee-46e0-0310-a255-a28a61b628e4
improve readability, use implode instead of join

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@6460 7882d7ee-46e0-0310-a255-a28a61b628e4
bugfixes

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@6461 7882d7ee-46e0-0310-a255-a28a61b628e4