Add :foreign_key option to has_paper_trail method

Add :foreign_key method to allow override default has_many association's
value in has_paper_trail method. This change improves compatibility with
composite_primary_keys gem.