Merge pull request #1 from OrangeShark/master

Remove brace expansion from Makefile
Basic shutdown code added
Easier to maintain files for separate directories now. Just add the appropriate
entries in the directory Makefile.
Fix an incorrect comment about arch_safe_halt().
Disable interrupts before complete shutdown.