use composer, update libs, change pdfparser

this adds composer to track the dependencies. 3rdparty is still checked in.