[IMPROVED] jsonRPC Error Handling with CURL

* [ADDED] Use curl instead of fopen
* [ADDED] Error handling for various connection issues
* [MOVED] jsonRPC library into lib folder
* [UPDATED] Pools page for proper RPC errors with caching enabled

It's using the base RPC class but modified to support CURL. Simplified
some code since we won't need those features. Should make maintaining
that code a whole lot easier.

Fixes #1343 once merged.
[FIX] Proper response string for debug output
[IMPROVED] Payout logging and indent
[IMPROVED] Further improvements on error handling
Version 3 

New additions some clean up
Merge pull request #1425 from WKNiGHT-/patch-2

Version 3
Deduct fee to payout amount value on email notification
Merge pull request #1427 from nicoschtein/patch-15

Deduct fee to payout amount value on email notification
Adding loadbalancer friendly ip detection
Added Last Login column to User Info section
Added last_login table column to getAllUserStats
Added date formatting to Last Login column
[Fix] Wrong var name and Align
Merge branch 'development' into production
Update README.md
Fix Dashboard
Update default.tpl

[FIX] Issue #1423 Add mouse over explanation for TX fee for auto payouts and manual payouts.
fixed manual payout token missing
Merge pull request #1435 from rog1121/patch-2

Fix Dashboard
Update default.tpl

[FIX] Me being an idiot :)