1.add extra param in image model
2.change sendheart service: return value for if beat success.
3.change login service: keep image session long connection
4.fixed the bug of write method return value(always return false)

Signed-off-by: scauwjh <scauwjh@gmail.com>