Update to process gallery shortcodes

Update to process gallery shortcodes, formatted [gallery ids=“1,2,3”]
where the ids reference attachment items in the wordpress export.  Also
kept getting rake errors so made some changes that may make no sense
likely due to my inexperience with Ruby ;-)