duplicates in license keys

Allow duplicates in *license's 'Licence key'* field.
Added:
- fn *get_object_form_data* in tests,
- tests,
- fixed minor bugs,
- fileds to LicenceFactory.

@ar4s @quamilek