Fixed bug in add that would result in multiple packages with the same name being added.
Added 201 created response code when POSTing a new package.