Check extension rather than mimetype
restructure calc
specify preview import statements to reflect new package structure
change calcfunctions -> functions
bump version number on calc