Attachments stuck in legacy mode

version_compare's conditional checks if  is <= 3.5 when it should just be < 3.5
Merge pull request #4 from jrtashjian/bugfix-version-check

Attachments stuck in legacy mode

Thanks JR!
Fixed an issue where HTML entities were not properly encoded
Edited documentation for 3.0.2 fix that resolved issue with storage of certain HTML entities
Fixed an issue where a passed post ID was ignored when pulling Attachments data. Cleaned up potential PHP warning.
* Fixed an issue that prevented the choosing of a Featured Image for a Custom Post Type if Attachments was activated
* Attachments now only enqueues its assets on edit screens that actually utilize Attachments
* Fixed a potential JavaScript error triggered when a 'thumbnail' image size was not available
* Prevented incorrect usage of dashes used in CPT names for post_type argument when registering Attachments instances (fixes an
integration issue with WP e-Commerce)
* Prevented re-running of migration process to avoid duplicates (e.g. on browser reload)
Fixed a regression in handling Custom Post Type names that would too aggressively interfere with instance regustration
Fixed an issue when working with non-image Attachments
Fixed a possible JavaScript error if an Attachment that's an image doesn't have a proper thumbnail URL - fixes #10
Added a total() method that will return the number of Attachments for the current instance
When requesting the image() for a non-image Attachment, the WordPress-defined icon will be returned
Added an icon() method that will return the WordPress-defined icon for the Attachment
Cleaned up a PHP Warning when trying to save for an undefined field type
Version flag bump
Removed unintentional label text
Fixed an issue where Underscore template tags would be output on post edit screens in the WP admin when working with non-image Attachments after save
Proper sanitization of Custom Post Type names (as WordPress does it)
Stable tag update for wordpress.org
Added textarea field
Changed clearfix implementation
Fixed an issue in Firefox caused by jQuery's disableSelection() that prevented focusing on inputs by clicking them.
Updated documentation. 3.0.8 version bump.
Better storage of special characters for PHP 5.4+
Fixed a CSS issue with only one text field. Fixes #12.
Fixed incorrect HTML in README