added common_units to the dropdown menus in new_recipe.php
changed units dropdown builder function to be more flexible
added json.stringify functionality to send a json array of recipe ingredients through post