minor adjustments
fix pagebreaks

Refs #5
Merge branch 'master' into stream

Conflicts:
	lib/document.js
	lib/objects/stream.js
remove trailing whitespaces