Squashed commit of the following:

commit 4ed3afea2636f9203d57bcc6d1d470e9edc90327
Author: Thai Nguyen <useEvil@gmail.com>
Date:   Thu Jun 19 16:53:54 2014 -0700

     - added photo_id as default for missing title
 - optimized processing of files that were already imported