Added support to custom post types

Added the possibility to set 'post_type' field in the metabox fields array to use custom post fields