Merge pull request #32 from humanmade/strict-warning

Fix a PHP strict warning, only variables should be passed by reference
Fix deprecated function warning for WP-CLI command
Changed textdomain to match the plugin's widgets

Textdomain in the main file was 'p2-resolve', but the strings in the two widgets was 'p2-resolved-posts'. So translations were not visible on the front end.
Update p2-resolved-posts.php
Merge pull request #34 from ArchCarrier/patch-1

Changed textdomain to match the plugin's widgets