PDFBOX-1518: added more generics to avoid ClassCastExceptions (2nd try)

git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1446895 13f79535-47bb-0310-9956-ffa450edef68
PDFBOX-1522: add an additional "0" if the exponent of a malformed floating value is missing

git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1449818 13f79535-47bb-0310-9956-ffa450edef68
PDFBOX-1513 added signature improvements as proposed by Thomas Chojecki

git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1451638 13f79535-47bb-0310-9956-ffa450edef68
PDFBOX-1496: cache the resources of a page to avoid recreating them every time getResources is called, added some generics

git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1451662 13f79535-47bb-0310-9956-ffa450edef68
Merge remote-tracking branch 'upstream/trunk' into HEAD

Cleanup & Pullrequest PDFBOX-1513

Conflicts:
	pdfbox/src/main/java/org/apache/pdfbox/cos/COSDocument.java
	pdfbox/src/main/java/org/apache/pdfbox/cos/COSName.java
	pdfbox/src/main/java/org/apache/pdfbox/pdfparser/BaseParser.java
	pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFParser.java
	pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFXRef.java
	pdfbox/src/main/java/org/apache/pdfbox/pdfparser/PDFXRefStream.java
	pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/COSWriter.java
	pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java
	pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/filespecification/PDComplexFileSpecification.java
	pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/digitalsignature/PDPropBuild.java
	pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/digitalsignature/PDPropBuildDataDict.java
	pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/digitalsignature/PDSeedValue.java
	pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/digitalsignature/PDSeedValueMDP.java
	pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/digitalsignature/PDSeedValueTimeStamp.java
	pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/digitalsignature/PDSignature.java
	pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/form/PDSignatureField.java
Merge remote-tracking branch 'origin/trunk' into HEAD

No changes, overwritten from the upstream/trunk

Conflicts:
	examples/src/main/java/org/apache/pdfbox/examples/signature/CreateSignature.java