Beautify PHP and JS code.
Remove trailing whitespace.
Move PEAR local copy one directory up and upgrade it where possible.
Move DigiDoc class one directory up.
Fix some Deprecated messages in PEAR packages.
Code refactoring, uppercase TRUE, FALSE and NULL values and some simplifications.
Replace WSDL class with a single query function.