UPDATE: This is now included by default and should not be used.
In your subtheme’s template.php file, add the following:
function YOURTHEMENAME_preprocess_image(&$vars)
{
$vars['attributes']['class'][] = 'img-responsive';
// http://getbootstrap.com/css/#overview-responsive-images
}