F2 create ajax cart

Created ajax request for adding a line_item into the cart. Also used partials to clean the code.