Added functionality to specify a maximum tag limit.

Usage:
Now in settings if `'maxTags': integer` is passed there will be a limit to the number of tags that can be added.