more appropriate data types for rc4 implementation
More consistent diagnostics.
Use shifts rather than multiplies to scale up size requests.
Add some tests.
Backport tests to Debian wheezy

Change-Id: I3825a22ea000c94b37aa8bf3b71a49a1065e34b0
Stricter argument checking.
Man page typo fixes
Update copyright notices