made sure only posts with images show up, added an images per pile option and added the media pile function

git-svn-id: https://plugins.svn.wordpress.org/pile-gallery/trunk@991968 b8457f37-d9ea-0310-8a92-e5e31aec5664