modify extract_pdf a bit
added fxn to directly etract xml, pdf, plain, closes #42
changed str_extract to strextract internal fxn
moved as.tdmurl to sep file, renamed from as.url, exported now, actually works too