fixed django 1.5 insert statement, added a try block for integrity exception when adding a product, added an error message when failing to add a product