Delete some unused functions
Use guarded json_encode and more

1. Now requires PHP 5.5
2. Fix HTTP/302 error in fetching PTT articles
Use Curl class in RssReader