Allow details_file=None when all_perms=None in create_details

I would like the create_details function to default to no permissions if details_file is None and all_perms is None, rather than having to make a separate json details file to create an application with no permissions.