Custom password encoder for symfony2, using the new password hash api from php 5.5 (with fallback for 5.3 + 5.4)