API documentation

Start of pdf.js documentation. Generated with JSDoc.