mem_arena: Replace insecure temporary file creation with devshm, importing Dolphin’s code.
Removed redundant loop in EmuThread::run()
Common: Move header guards over to pragma once

Also replaced C headers with the C++ equivalent ones
Common: Move remaining C header includes over to their C++ equivalent
Common: Correctly set ptr to null if mmap fails in memory_util

On POSIX systems mmap will return MAP_FAILED ((void*)-1) instead of a null pointer.
Core: Fix undefined behavior in mem_map_funcs' WriteBlock function
Core: Fix a formatting error in svc.cpp

entry_point would not be added to the string. Also used StringFromFormat
so that the buffer is unnecessary.
Merge pull request #54 from lioncash/fmt

Core: Fix a formatting error in svc.cpp
Merge pull request #53 from lioncash/memmap

Core: Fix undefined behavior in mem_map_funcs' WriteBlock function
Merge pull request #51 from lioncash/pragma

Common: Move header guards over to pragma once.
Merge pull request #48 from linkmauve/master

Replace insecure temporary file creation with devshm.
Merge pull request #49 from archshift/redundantloop

Removed redundant loop in EmuThread::run()
Merge pull request #52 from lioncash/memory

Common: Correctly set ptr to null if mmap fails in memory_util
Core: Alter the kernel string functions to use std::string instead of const char*.

Most functions already operate on std::strings. This also removes the need to manually null terminate thread names.
CMake Cleanup
Common: Don't return a reference to a string when calling GetName in symbols.cpp

Returning a copy of the string is what was likely meant to be done.
Merge pull request #56 from xsacha/master

CMake Cleanup
Merge pull request #57 from lioncash/str

Common: Don't return a reference to a string when calling GetName in symbols.cpp
Common: Get rid of an unnecessary forward declaration in symbols.h
SVC: Added support for svc_GetSystemTick.

Changed HLE function return methods to be static inline functions.