Fix resolveFromHeader and use_header config, PSR-2 code formatting,
resolveWidth and resolveFromHeader tests