Multiple Post Thumbnails registration

Allows registration of the same secondary image for more than one post
type
Warnings and deprecations fixed