Change the :corner key to :type

It's more accurate and descriptive
Make corner->outer-point actually apply the defined functions
Add a function that adds both inner and outer points to corners
Remove unneeded keys from the corner maps
Add documentation for the inner and outer point functions