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.