core: Improve LPM support

 * Larger last_kmsg buffer in the charger log for debugging.
 * Load /init.lpm.rc in order to externalize charger setup.
 * Add support for Samsung's LPM reset reason.

Change-Id: I38cd63f7aa05685d2075d2568faf2f94f8440c88
Add sysinit

Change-Id: I5ff5a7f0fe9aaf94bb168a059643c73ac8ff00c1
Inline with kernel.

Change-Id: Idd0499eb28e814d32228131eccbb4a5d4795e0e2
Signed-off-by: Derek Cannata <thederekjay@gmail.com>