Add missing EOLs at EOFs.
build: Cleanup header lists.

Alphabetize and add missing detail headers.
build: Formatting: Put ')' on their own lines.

While I'm not very fond of the look of it, it has one clear advantage:
Adding files to the list will make one added line in the diff. When the closing
parenthesis is on the same line as the last item, adding to the end of the list
will cause an additional changed line to be added to the diff.

This style is only applied to file(-like) lists, because they change regularly.
Add typeid skeleton.
Fix is_apollo_instance for metatableless objects.

apollo::detail::is_apollo_instance was popping one element too much from the
stack when the specified element lacks a metatable.
Implement typeid.