Added 'full' option to 'read'.

Added 'full' option to 'read' to read given 'size' amount of data.
Renamed 'all' option to 'write' to 'full' as 'all' is a built-in
function.

'write' now returns amount of data written, instead of pending.