Adds option parameter to line_items api controller

resolves #5655
Line is too long. [133/80]<br>Use the new Ruby 1.9 hash syntax.