Small fixes in bridge_api, basic fixes in database_api
[Fix] fixed payouts in bridge_api
(still there are differences but they are in DB data, not in how the data is presented)
[Fix] fixed discussion tree building and ordering in bridge_api
[Fix] children
needs to be INT
in database_api_post
[Fix] fixed condition in database_api::list_comments_by_permlink
[WIP] marked deviations from original fat node behaviour in various database_api::list_comments_by_...
functions and in list_votes
[Fix] response from database_api
calls is properly a dictionary with array instead of raw array
[Fix] fixed database_api::find_comments
arguments and how the query is built (single query with JOIN
instead of list of separate same queries with UNION ALL
)