PTM_U: Implemented the GetShellState function.

Uses a new miscellaneous setting for the shell state, default to true.

This function returns whether the 3DS's physical shell casing is open or not.
I believe the rationale is so that they can be easily hooked up to a config file or UI later.