Fix for issue #335, Misc secondary index fixes, Added metadata API to access index info
Update language reference to include new index commands, aggregate functions, and data types