Used signals to get pdf text

Used 'post_save' signal method to get the plain text from pdf.
Some fixes, removed NOT NULL constraint from some fields.