Converts an object to an array. For strings, numbers, and functions this will
return a char array to their respective .toString() values
@param {Object} o The object to operate on.
@function
@return {Array<*>} The object, converted to an array.
function toArray (o) {
                    if(o instanceof Array) return libs.object.copy(o);
                    var arr = [];
                    libs.object.each(o, function (val) { arr.push(val); });
                    return arr;
                }