fixed an infinite loop + 2.1.12
Merge branch 'master' into nook

Conflicts:
	AndroidManifest.xml
new style footer color settings
Merge branch 'master' into nook
better processing of page-break-* CSS properties (still not fully used during rendering)
code cleanup
Merge branch 'master' into nook