Gasoline prices above $4 per gallon are painful for consumers, but the environment can be very favorable for those investing in refiners that are able to capture strong margins on the fuels they produce.