implement Badge.find_by_instance
move user_import from controllers/admin to lib/user_import
allow reinvite
set creator as parameter in user_import

to avoid using the c variable inside user_import
pass global_admin as parameter

to avoid using the c variable inside UserCSV validator
add script
fixup a5e938f3
Fix non-ascii validation messages in invite script
differentiate invite/reinvite output message
remove unused import
Create correct invitation link (taking the instance into account)
fix email subject help string
Check for is_email_activated instead of membership

I did not remove the old code as it may still be useful.
activate and joined are disjoint properties.
allow instance == None
add missing import
remove misplaced comment

no clue where this came from but it certainly is in
the wrong place
fixup c7f1472fc61

apply the change to controllers/instance.py also to
controllers/admin.py
fix UserImportForm state

it actually needs to be an object, not a dict
validate instance user import inside of controller

validation with a decorator does not work because it
is done in the wrong context
display user_import result in instance