Fixed some javadoc issues.
Added maven project model.

Only builds the basic maven artifacts, not the examples or demo app.