Implemented RenameFile in FS:USER
Implemented RenameDirectory in FS:USER
CMake: Place all the built files in BUILD_DIR/bin/<Configuration> when compiling with MSVC
Change NULLs to nullptrs.
PTM_U: Added a stub for GetBatteryLevel & GetBatteryChargeState & GetAdapterState
hid_user: Pass by reference with PadButtonPress/PadButtonRelease
kernel: Make some functions const
kernel: Shorten GetCount
Add stub for ConvertProcessFromDspDram

Should theoretically push retail stuff further along
Merge pull request #230 from purpasmart96/hb_serv

PTM_U: Added a stub for GetBatteryLevel & GetBatteryChargeState & GetAdapterState
Merge pull request #238 from archshift/dsp

Add stub for ConvertProcessFromDspDram
mem_map: Make enum for addresses use u32 as the underlying type
Merge pull request #240 from Subv/cmake

CMake: Place all built files in a single folder in MSVC
Merge pull request #247 from lioncash/const

hid_user: Pass by reference with PadButtonPress/PadButtonRelease
Merge pull request #249 from lioncash/enum

mem_map: Make enum for addresses use u32 as the underlying type
SVC: Implemented GetThreadId.

For now threads are using their Handle value as their Id, it should not really cause any problems because Handle values are unique in Citra, but it should be changed. I left a ToDo there because this is not correct behavior as per hardware.
Resolve doxycomment duplication debate

I believe putting comments in the headers has won by a good margin, with everyone other than me preferring it, so time to enshrine it.
Updated archive.cpp functions for proper error handling
Threads: Implemented a sequential thread id
Threads: Remove a redundant function.

Use the next_thread_id variable directly.