Added optional $base_uri argument, removed ending ?>, whitespace fixes
Example changes
Merge pull request #2 from drkibitz/master

$base_uri argument, and cleanup thanks to drkibitz