Added support for permissions

The add-another link now will only appear if the user has add
permission for the model in question.
Removed sql